package com.itheima.mapper;

import com.itheima.pojo.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpExprMpper {

    void insertBatch(List<EmpExpr> exprList);

    void deleteByEmpsIds(@Param("exprIds") List<Integer> exprIds);
    @Select("select * from emp_expr where emp_id=#{id}")
    List<EmpExpr> selectByEmpId(Integer id);
}
